gridpack::parser::Cim6blParser< _data_struct > Class Template Reference

#include <cim6bl.hpp>

List of all members.

Public Member Functions

 Cim6blParser ()
virtual ~Cim6blParser ()
void extract (_data_struct &data_struct, gridpack::component::DataCollection *data, int l_id)
void parse (std::vector< std::string > &split_line, gridpack::component::DataCollection *data, int l_id)
void store (std::vector< std::string > &split_line, _data_struct &data)

template<class _data_struct>
class gridpack::parser::Cim6blParser< _data_struct >


Constructor & Destructor Documentation

template<class _data_struct >
gridpack::parser::Cim6blParser< _data_struct >::Cim6blParser (  )  [explicit]

Constructor

template<class _data_struct >
virtual gridpack::parser::Cim6blParser< _data_struct >::~Cim6blParser (  )  [virtual]

Destructor


Member Function Documentation

template<class _data_struct >
void gridpack::parser::Cim6blParser< _data_struct >::extract ( _data_struct &  data_struct,
gridpack::component::DataCollection data,
int  l_id 
)

Extract data from _data_struct and store it in data collection object

Parameters:
data_struct data struct object
data data collection object
gen_id index of generator

References gridpack::component::DataCollection::addValue(), gridpack::component::DataCollection::getValue(), LOAD_A, LOAD_B, LOAD_C0, LOAD_D, LOAD_E, LOAD_E1, LOAD_E2, LOAD_H, LOAD_IT, LOAD_MBASE, LOAD_MODEL, LOAD_PMULT, LOAD_R1, LOAD_R2, LOAD_RA, LOAD_SE1, LOAD_SE2, LOAD_TB, LOAD_TI, LOAD_TNOM, LOAD_VI, LOAD_X1, LOAD_X2, LOAD_XA, LOAD_XM, and gridpack::component::DataCollection::setValue().

template<class _data_struct >
void gridpack::parser::Cim6blParser< _data_struct >::parse ( std::vector< std::string > &  split_line,
gridpack::component::DataCollection data,
int  l_id 
)

Parser list of strings and store results in data collection object

Parameters:
split_line list of tokens from .dyr file
data data collection object
model name of generator model
gen_id index of generator

References gridpack::component::DataCollection::addValue(), gridpack::component::DataCollection::getValue(), LOAD_A, LOAD_B, LOAD_C0, LOAD_D, LOAD_E, LOAD_E1, LOAD_E2, LOAD_H, LOAD_IT, LOAD_MBASE, LOAD_MODEL, LOAD_PMULT, LOAD_R1, LOAD_R2, LOAD_RA, LOAD_SE1, LOAD_SE2, LOAD_TB, LOAD_TI, LOAD_TNOM, LOAD_VI, LOAD_X1, LOAD_X2, LOAD_XA, LOAD_XM, gridpack::component::DataCollection::setValue(), gridpack::utility::StringUtils::toUpper(), and gridpack::utility::StringUtils::trimQuotes().

template<class _data_struct >
void gridpack::parser::Cim6blParser< _data_struct >::store ( std::vector< std::string > &  split_line,
_data_struct &  data 
)

Parse list of strings store results in data_struct object

Parameters:
split_line list of tokens from .dyr file
data data struct that stores information from file

References gridpack::utility::StringUtils::clean2Char(), gridpack::utility::StringUtils::toUpper(), and gridpack::utility::StringUtils::trimQuotes().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Feb 2020 for GridPACK by  doxygen 1.6.1